package com.simple.study.mapper;

import com.simple.study.base.dao.MyMapper;
import com.simple.study.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends MyMapper<Permission> {

    List<Permission> getPermissionByPsIds(@Param("ids") List<Integer> ids);

    List<Permission> getPermissionByLevel(String level);

    List<Permission> getPermissionByUnio(short id);
}